<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<style>
			.mui-span {
				float: left;
			}
			.mui-bar-nav{
				background-color: green;
			}
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">游记</h1>
			<a class="mui-icon mui-icon-search mui-icon-right-nav mui-pull-right"></a>
		</header>
		<div id="slider" class="mui-slider">
			<div class="mui-slider-group mui-slider-loop">
				<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
				<div class="mui-slider-item mui-slider-item-duplicate">
					<a href="#">
						<img src="img/yuantiao.jpg">
						<p class="mui-slider-title">静静看这世界</p>
					</a>
				</div>
				<div class="mui-slider-item">
					<a href="#">
						<img src="img/shuijiao.jpg">
						<p class="mui-slider-title">幸福就是可以一起睡觉</p>
					</a>
				</div>
				<div class="mui-slider-item">
					<a href="#">
						<img src="img/muwu.jpg">
						<p class="mui-slider-title">想要一间这样的木屋，静静的喝咖啡</p>
					</a>
				</div>
				<div class="mui-slider-item">
					<a href="#">
						<img src="img/cbd.jpg">
						<p class="mui-slider-title">Color of SIP CBD</p>
					</a>
				</div>
				<div class="mui-slider-item">
					<a href="#">
						<img src="img/yuantiao.jpg">
						<p class="mui-slider-title">静静看这世界</p>
					</a>
				</div>
				<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
				<div class="mui-slider-item mui-slider-item-duplicate">
					<a href="#">
						<img src="img/shuijiao.jpg">
						<p class="mui-slider-title">幸福就是可以一起睡觉</p>
					</a>
				</div>
			</div>
			<div class="mui-slider-indicator mui-text-right">
				<div class="mui-indicator mui-active"></div>
				<div class="mui-indicator"></div>
				<div class="mui-indicator"></div>
				<div class="mui-indicator"></div>
			</div>
			<div class="mui-card" id="page1" title="巴黎">
				<div class="mui-card-header mui-card-media mui-page1" style="height:40vw;background-image:url(img/cbd.jpg)"></div>
				<div class="mui-card-content">
					<div class="mui-card-content-inner">
						<a href="javascript:;">
							<p style="font-weight:bold;color: black;">巴黎 埃菲尔玻璃塔</p>
							<p>Posted on January 18, 2016</p>
						</a>
					</div>
				</div>
				<div class="mui-card-footer">
					<a class="mui-card-link">喜欢 </a>
					<a class="mui-card-link">不感兴趣</a>
				</div>
			</div>
			<div class="mui-card">
				<div class="mui-card-header mui-card-media" style="height:40vw;background-image:url(img/cbd.jpg)"></div>
				<div class="mui-card-content">
					<div class="mui-card-content-inner">
						<p style="font-weight:bold;color: black;">巴黎 埃菲尔玻璃塔</p>
						<p>Posted on January 18, 2016</p>
					</div>
				</div>
				<div class="mui-card-footer">
					<a class="mui-card-link">喜欢</a>
					<a class="mui-card-link">不感兴趣</a>
				</div>
			</div>
			<div class="mui-card">
				<div class="mui-card-header mui-card-media" style="height:40vw;background-image:url(img/cbd.jpg)"></div>
				<div class="mui-card-content">
					<div class="mui-card-content-inner">
						<p style="font-weight:bold;color: black;">巴黎 埃菲尔玻璃塔</p>
						<p>Posted on January 18, 2016</p>
					</div>
				</div>
				<div class="mui-card-footer">
					<a class="mui-card-link">喜欢</a>
					<a class="mui-card-link">不感兴趣</a>
				</div>
			</div>
			<script src="js/mui.min.js"></script>
			<script type="text/javascript">
				mui.init()
				//获得slider插件对象
				var gallery = mui('.mui-slider');
				gallery.slider({
					interval: 5000 //自动轮播周期，若为0则不自动播放，默认为0；
				});
			</script>
			<script type="text/javascript">
				var travel = document.getElementById("page1");
				travel.addEventListener("tap", function() {
					var title = this.getAttribute("title");
							if(window.plus) {
								mui.openWindow({
										url: 'travel-page2.html',
										id: 'travel-page2.html',
										style: {},
										extras: {
											title: title
										},
										show:{
											autoShow:true,
											aniShow:"slide-in-right",
											duration:100
										},
										waiting:{
											autoShow:true,
											title:"加载中....",
											options:{}
										}
										})
								}
							})
			</script>
	</body>

</html>